import { Guard } from '../../constants/guard';

export default [
  {
    path: '/application',
    name: 'application',
    meta: {
      title: '应用管理',
      svg: 'app',
      layout: true,
      guardList: [Guard.ApplicationView, Guard.ApplicationManage]
    },
    redirect: '/alarm/rule/list'
  },
  {
    path: '/application/list',
    name: 'applicationList',
    meta: {
      title: '应用列表',
      svg: 'apps',
      layout: true,
      parentMenu: 'application',
      guardList: [Guard.ApplicationView, Guard.ApplicationManage]
    },
    component: () => import('../../views/application/list/index.vue')
  }
];
